import json
from operator import truediv

dict1={"name":"zhangsan","age":18,"sex":"男"}
print(json.dumps(dict1))

